﻿<UserControl x:Class="ControlPanelOOB.InBrowser"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="720">

    <Grid x:Name="LayoutRoot" Background="Black" MaxHeight="300" MaxWidth="720">
		<Border BorderBrush="White" BorderThickness="2">
			<Grid Name="InnerGrid">
				<Grid.RowDefinitions>
    				<RowDefinition/>
		    		<RowDefinition/>
		    		<RowDefinition/>
					<RowDefinition/>
		    	</Grid.RowDefinitions>
		    	<Grid.ColumnDefinitions>
		    		<ColumnDefinition Width="2"/>
					<ColumnDefinition/>
					<ColumnDefinition/>
		    		<ColumnDefinition/>
		    		<ColumnDefinition Width="2"/>
		    	</Grid.ColumnDefinitions>
				<TextBlock Text="The Windows Phone 7 Accelerometer Control Panel is an Out Of Browser Silverlight Application. Please install it to use."
			 			Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="White" VerticalAlignment="Center" FontSize="18" />
				<Button Name="InstallButton" Content="Install" Grid.Row="2" Grid.Column="2" VerticalAlignment="Top" Click="InstallButton_Click" />
			</Grid>			
		</Border>
    </Grid>
</UserControl>

			